package com.xc.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author xingchen
 * @create 2021/11/18 22:42
 */
@ApiModel
public class NewUserCouponRequest {

    @ApiModelProperty(value = "用户Id", example = "19")
    @JsonProperty("user_id")
    private Long userId;

    @ApiModelProperty(value = "名称", example = "安全员")
    @JsonProperty("name")
    private String name;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "NewUserCouponRequest{" +
                "userId=" + userId +
                ", name='" + name + '\'' +
                '}';
    }
}
